#! /bin/sh

d=10 
s=0
b=4
while [ $b -ne 8 ]
do
d=10
while [ $d -ne 12 ]
do
    t=0
    while [ $t -ne 8 ]
    do
./../Compression/Compression -f ../../../Data/Ocean/20080310-16/200803${d}_s_000$t.kvsml -Bspline -b $b -writezk -outname SalinityBlock_${b}_200803${d}_000$t.zk
    t=`expr $t + 1`
    s=`expr $s + 1`
    done
d=`expr $d + 1`
done
b=`expr $b + 1`
done